package cn.edu.nuc.creditSystem.service.user.service;

import cn.edu.nuc.creditSystem.bean.user.User;
import cn.edu.nuc.creditSystem.service.BaseService;

public interface UserService extends BaseService<User>{
	/**
	 * 判断用户名是否存在
	 * @param user
	 * @return
	 */
	Boolean ExitsUsername(User user);

	User checkUsernameAndPassword(User user);
	/**
	 * 重置密码 
	 * @param user
	 * @return
	 */
	int ForgetPass(User user);

	int insertUser(User model);

	int updateUser(User model);

}
